fix(ci): clear three CI-hygiene drift failures#70
Merged
Conversation
- main.rs: drop unused SimulationResults import (errored under -D warnings)
- ci-cd.yml: align Julia matrix + JULIA_VERSION to 1.12 (Manifest.toml is
pinned to 1.12.x; CI was running 1.9/1.10 and failing on Statistics)
- ci-cd.yml: remove bogus Pkg.add("Lint") / 'Run Julia Lint' step
(Lint is not a registered package)
Verified: cargo build (incl. -D warnings) clean in src/rust/.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
🔍 Hypatia Security ScanFindings: 73 issues detected
View findings[
{
"reason": "codeql.yml lists `language: javascript-typescript` but the repo has no source files in any CodeQL-scannable language. The analyze job will exit 'no source files' on every run. Switch the matrix to `actions` (which scans workflow files — every repo has those).",
"type": "codeql_language_matrix_mismatch",
"file": "codeql.yml",
"action": "switch_codeql_matrix_to_actions",
"rule_module": "workflow_audit",
"severity": "high"
},
{
"reason": "Issue in boj-build.yml",
"type": "missing_timeout_minutes",
"file": "boj-build.yml",
"action": "flag",
"rule_module": "workflow_audit",
"severity": "medium"
},
{
"reason": "Issue in casket-pages.yml",
"type": "missing_timeout_minutes",
"file": "casket-pages.yml",
"action": "flag",
"rule_module": "workflow_audit",
"severity": "medium"
},
{
"reason": "Issue in casket-pages.yml",
"type": "missing_timeout_minutes",
"file": "casket-pages.yml",
"action": "flag",
"rule_module": "workflow_audit",
"severity": "medium"
},
{
"reason": "Issue in ci-cd.yml",
"type": "missing_timeout_minutes",
"file": "ci-cd.yml",
"action": "flag",
"rule_module": "workflow_audit",
"severity": "medium"
},
{
"reason": "Issue in ci-cd.yml",
"type": "missing_timeout_minutes",
"file": "ci-cd.yml",
"action": "flag",
"rule_module": "workflow_audit",
"severity": "medium"
},
{
"reason": "Issue in ci-cd.yml",
"type": "missing_timeout_minutes",
"file": "ci-cd.yml",
"action": "flag",
"rule_module": "workflow_audit",
"severity": "medium"
},
{
"reason": "Issue in ci-cd.yml",
"type": "missing_timeout_minutes",
"file": "ci-cd.yml",
"action": "flag",
"rule_module": "workflow_audit",
"severity": "medium"
},
{
"reason": "Issue in ci-cd.yml",
"type": "missing_timeout_minutes",
"file": "ci-cd.yml",
"action": "flag",
"rule_module": "workflow_audit",
"severity": "medium"
},
{
"reason": "Issue in ci-cd.yml",
"type": "missing_timeout_minutes",
"file": "ci-cd.yml",
"action": "flag",
"rule_module": "workflow_audit",
"severity": "medium"
}
]Powered by Hypatia Neurosymbolic CI/CD Intelligence |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Three CI-hygiene fixes (local tests pass; failures are drift):
(a)
src/rust/src/main.rs— removed the unusedSimulationResultsimport that was promoted to an error under CI-D warnings(onlySimulationConfigis used).(b) Julia "Tests" job failed because
Manifest.tomlis pinned to Julia 1.12.x (Statistics versioned) while CI ran 1.9/1.10. Bumped the matrix to['1.12', 'nightly']and alignedenv.JULIA_VERSIONto'1.12'. (Manifest.toml not touched.)(c) "Code Quality" added/used
Lint, which is not a registered package. Removed thePkg.add("Lint")from deps and deleted the whole "Run Julia Lint" step.Verified locally:
cargo build(incl.RUSTFLAGS=-D warnings) is clean insrc/rust/.🤖 Generated with Claude Code